/**
 * location.hostname 이 유효한 도메인($izd)을 포함하는 지 체크한다.
 * 동일하지 않을 경우, 3초 후에 메세지를 보낸다.
 * 노출하는 도메인은 사이트 배열의 첫 번째 것으로 한다.($izd.pop())
 *
 * @see image-zoomer.site.js
 * @see http://0xcc.net/jsescape/ 에서 unicode로 변경
 */
(function() {
	var
		d = document,
		l = location,
		s = eval("\u006C\u002E\u0068\u006F\u0073\u0074\u006E\u0061\u006D\u0065"), // l.hostname
		n = "",
		nv = true; // not valid
	
	/*
	while ($izd.length) {
		if (s.indexOf(n = $izd.pop()) > -1) {
			nv = false;
			break;
		}
	}
	if (nv) {
		setTimeout(function() {
			d.getElementById("image-zoomer").innerHTML="본 모듈은 "+n+" 에서만 유효합니다. (사용문의: ohgyun@gmail.com)";
		}, 10000);
	}
	*/
	eval("\u0077\u0068\u0069\u006C\u0065\u0020\u0028\u0024\u0069\u007A\u0064\u002E\u006C\u0065\u006E\u0067\u0074\u0068\u0029\u0020\u007B\u000A\u0009\u0009\u0069\u0066\u0020\u0028\u0073\u002E\u0069\u006E\u0064\u0065\u0078\u004F\u0066\u0028\u006E\u0020\u003D\u0020\u0024\u0069\u007A\u0064\u002E\u0070\u006F\u0070\u0028\u0029\u0029\u0020\u003E\u0020\u002D\u0031\u0029\u0020\u007B\u000A\u0009\u0009\u0009\u006E\u0076\u0020\u003D\u0020\u0066\u0061\u006C\u0073\u0065\u003B\u000A\u0009\u0009\u0009\u0062\u0072\u0065\u0061\u006B\u003B\u000A\u0009\u0009\u007D\u000A\u0009\u007D\u000A\u0009\u0069\u0066\u0020\u0028\u006E\u0076\u0029\u0020\u007B\u000A\u0009\u0009\u0073\u0065\u0074\u0054\u0069\u006D\u0065\u006F\u0075\u0074\u0028\u0066\u0075\u006E\u0063\u0074\u0069\u006F\u006E\u0028\u0029\u0020\u007B\u000A\u0009\u0009\u0009\u0064\u002E\u0067\u0065\u0074\u0045\u006C\u0065\u006D\u0065\u006E\u0074\u0042\u0079\u0049\u0064\u0028\u0022\u0069\u006D\u0061\u0067\u0065\u002D\u007A\u006F\u006F\u006D\u0065\u0072\u0022\u0029\u002E\u0069\u006E\u006E\u0065\u0072\u0048\u0054\u004D\u004C\u003D\u0022\uBCF8\u0020\uBAA8\uB4C8\uC740\u0020\u0022\u002B\u006E\u002B\u0022\u0020\uC5D0\uC11C\uB9CC\u0020\uC720\uD6A8\uD569\uB2C8\uB2E4\u002E\u0020\u0028\uC0AC\uC6A9\uBB38\uC758\u003A\u0020\u006F\u0068\u0067\u0079\u0075\u006E\u0040\u0067\u006D\u0061\u0069\u006C\u002E\u0063\u006F\u006D\u0029\u0022\u003B\u000A\u0009\u0009\u007D\u002C\u0020\u0031\u0030\u0030\u0030\u0030\u0029\u003B\u000A\u0009\u007D");
})();


